package com.wyh.mybatis.mapper;

import com.wyh.mybatis.medol.UserInfo;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Controller;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 王圆豪
 * Date: 2025-07-08
 * Time: 20:41
 */
@Mapper
public interface UserInfoXMLMapper {
    List<UserInfo> selectAll();

    List<UserInfo> selectAll2(Integer id);

    List<UserInfo> searchAllByIdNamePassword(UserInfo userInfo);

    List<UserInfo> searchAllByIdNamePassword2(UserInfo userInfo);

    Integer insert();

    Integer insertBatch(UserInfo userInfo);

    List<UserInfo> selectBatch(UserInfo userInfo);

    List<UserInfo> selectBatch2(UserInfo userInfo);

    Integer updateByCondition(UserInfo userInfo);

    Integer deleteByCondition(List<Integer> ids);
}
